<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="jt.classic.app.util.UserUtil"%>
<%
String context = jt.classic.system.ISystem.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>新增会议室</title>
</head>
<jsp:include page="../../head.jsp"></jsp:include>
<link rel="stylesheet" type="text/css" href="<%=context%>/system/group/css/groupmanage.css" ></link>
<script type="text/javascript" src="<%=context %>/system/group/js/groupcombo4jsp.js"></script>
<script type="text/javascript" src="<%=context %>/system/object/js/page4neu.js"></script>
<script type="text/javascript" src="<%=context %>/system/dataindex/js/ditree4jsp.js"></script>
<script type="text/javascript" src="<%=context %>/system/object/js/init4core.js"></script>

<script>
   function checkit(){
     var rnt = true;
     if(isblank(document.form1.uname)){
        rnt = false;
        alert("请填写用户名称");
        document.form1.uname.focus();
     }else if(isblank(document.form1.logid)){
        rnt = false;
        alert("请填写用户登录ID");
        document.form1.logid.focus();
     }else if(!checkLogID(trimme(document.form1.logid))){
        rnt = false;
        alert("登录ID重复，请设定其它的登录ID");
        document.form1.logid.focus();
     }else if(isblank(document.form1.pwd)){
        rnt = false;
        alert("请设置用户密码");
        document.form1.pwd.focus();
     }else if(trimme(document.form1.pwd) != trimme(document.form1.pwd1)){
        rnt = false;
        alert("密码确认错误");
     } 
     
     return rnt;
   }
</script>
<script src="<%=context%>/app/hys/hyszy/js/myjs.js"></script>
<script src="<%=context%>/app/js/mycommon.js"></script>
<body>
<form id="form1" name="form1" method="post"
	action="<%=context%>/app/hyszy.do?method=save"><input
	type="hidden" name="HYS_ID" value="">
<p>&nbsp;</p>	
<div>&nbsp;
<input type="button"
			class="button0" name="button0" value=" 保 存 "
			onclick="javascript:handleSubmit();" /> <input type="button"
			class="button0" name="button1" value=" 会议室列表 "
			onclick="javascript:window.location.href='<%=context%>/app/hyszy.do?method=list';" />
</div>			
<fieldset id="lanmu" style="width:810px;">
<legend>会议室登记</legend>
<table class="tab4edit" width="700" align="center">
	<tr>
		<td width="150" class="td1">&nbsp;会议室名称</td>
		<td><label> <input name="HYS_MC" class="box3" type="text"
			id="HYS_MC" /> </label></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;会议室编号</td>
		<td><input name="HYS_BH" class="box3" type="text" id="HYS_BH" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;会议室位置</td>
		<td><input name="HYS_WZ" class="box3" type="text" id="HYS_WZ" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;设备状况</td>
		<td><input name="HYS_SB" class="box3" type="text" id="HYS_SB" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;面积</td>
		<td><input name="HYS_MJ" class="box3" type="text" id="HYS_MJ" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;会议室使用说明</td>
		<td><input name="HYS_SYSM" class="box3" type="text" id="HYS_SYSM" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;会议室备注</td>
		<td><input name="HYS_BZ" class="box3" type="text" id="HYS_BZ" /></td>
	</tr>
	<tr>
		<td class="td1">&nbsp;所属公司</td>
		<td>
		<input type="hidden" name="HYS_GSID" id="HYS_GSID" value="" special="gu" select="group" root="root" guname="HYS_GSID_NAME"/>
    	<input type="hidden" name="HYS_GSID_NAME" id="HYS_GSID_NAME" value=""/>
		
		</td>
	</tr>
	<tr>
		<td class="td1">&nbsp;容纳人数</td>
		<td><input name="HYS_RS" class="box3" type="text" id="HYS_RS" /></td>
	</tr>

</table>

<div style='display:none'>
<tr style='display:none'>
	<td class="td1">&nbsp;审核状态</td>
	<td><input name="HYS_SPZT" class="box3" type="text" id="HYS_SPZT" /></td>
</tr>
<tr>
	<td class="td1" style='display:none'>&nbsp;创建（提交）时间</td>
	<td><input value='<%=org.limp.mine.DateTrimmer.getYMDHMS() %>'
		name="CREATE_DATE" class="box3" type="text" id="CREATE_DATE" /></td>
</tr>
<tr class="td1" style='display:none'>
	<td>&nbsp;记录者（创建用户）</td>
	<td><input value='<%=UserUtil.getSessionUserId(request)%>'
		name="CREATE_USER" class="box3" type="text" id="CREATE_USER" /></td>
</tr>
<tr class="td1" style='display:none'>
	<td>&nbsp;审批时间</td>
	<td><input name="UPDATE_DATE" class="box3" type="text"
		id="UPDATE_DATE" /></td>
</tr>
<tr class="td1" style='display:none'>
	<td>&nbsp;审批人</td>
	<td><input name="UPDATE_USER" class="box3" type="text"
		id="UPDATE_USER" /></td>
</tr>

</div>
</fieldset>
</form>

<script>
initExtComponents();
</script>
</body>
</html>
